import React, { Component } from 'react';
import {
	Steps,
	Icon
} from 'antd';
const Step = Steps.Step;

export default class App extends Component {
	render() {
		const data=['个人信息', '属性生成', '技能分配', '技能分配']
		return (
			<Steps style={{marginTop:'20px'}} current={this.props.current - 1}>
				{
					data.map((e, i)=>(
						<Step title={e} />
					))
				}
			</Steps>
		)
	}
}